<template>
	<view class="banner">
		<image class="banner-img" :src="data" mode=""></image>
	</view>
</template>

<script>
	export default {
		props:{
			data:String,
		},
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style scoped>
	.banner {
		width: 100%;
	}

	.banner-img {width: 100%;
		height: 300rpx;
	}
</style>
